﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lg.Core.RidAuthor
{
    /// <summary>
    /// rid用户的缓存数据模型，用于当前rid用户所有cache数据集中管理
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class RiderCacheModel
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string? Key {  get; set; }
        /// <summary>
        /// 缓存的内容
        /// </summary>
        public object? Value { get; set; }
        /// <summary>
        /// 缓存内容的类型
        /// </summary>
        public Type? ValueType { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public DateTime? ExpireTime { get; set; }
    }
}
